package org.zfes.snowier.cloud.zbss.pmp.dao;
import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.pmp.model.PmpTasksSplit;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface PmpTasksSplitMapper extends BaseMapper<PmpTasksSplit>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<PmpTasksSplit> selectModelListPage(ParamMap params);
	 
	PmpTasksSplit selectByNewTaskId(Long newTaskId);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);
}
